/**
 * 
 */
package com.teamall.web.sys.service;

import java.math.*;
import java.util.*;

import com.teamall.core.common.Page;
import com.teamall.framework.exception.BaseAppException;

import com.teamall.web.sys.db.po.SysUserTokenPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.teamall.web.sys.service <br>
 */

public interface ISysUserTokenService {

    SysUserTokenPO selectByPrimaryKey(Integer key) throws BaseAppException;

    List<SysUserTokenPO> selectByArg(SysUserTokenPO record) throws BaseAppException;

    Page<SysUserTokenPO> selectByArgAndPage(SysUserTokenPO record, Page<SysUserTokenPO> resultPage)
            throws BaseAppException;

    int add(SysUserTokenPO record) throws BaseAppException;

    int update(SysUserTokenPO record) throws BaseAppException;

    int delete(SysUserTokenPO record) throws BaseAppException;

    SysUserTokenPO selectByToken(String token) throws BaseAppException;

}
